/*
 *  sparticlusSimulation.h
 *  sparticlus
 *
 *  Created by Lita Gratrix on 4/12/10.
 *  Copyright 2010 Lita Gratrix Development. All rights reserved.
 *
 */
#include <sstream>

#include <maya/MGlobal.h>
#include <maya/MString.h>
#include <maya/MStringArray.h>
#include <maya/MObject.h>
#include <maya/MObjectArray.h>
#include <maya/MVector.h>
#include <maya/MVectorArray.h>
#include <maya/MPxCommand.h>
#include <maya/MStatus.h>
#include <maya/MSelectionList.h>
#include <maya/MFnParticleSystem.h>
#include <maya/MTime.h>
#include <maya/MFnDependencyNode.h>
#include <maya/MDGModifier.h>
#include <maya/MPlug.h>
#include <maya/MPlugArray.h>
#include "simKernel.h"



class sparticlusSimulation
{
public:
			sparticlusSimulation();
	virtual ~sparticlusSimulation();
	MStatus simulate( MObjectArray particleSystems, int startFrame, int finishFrame, int sampleRate );
		
private:
	MStatus throwError(MString errorString, MStatus status);
	int setFPS();
		
private:
	MVectorArray posArray, velArray;
};
